// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text.Json;
using System.Text.Json.Serialization;

#nullable restore
namespace Elastic.Clients.Elasticsearch.Nodes
{
	public sealed partial class Jvm
	{
		[JsonInclude]
		[JsonPropertyName("buffer_pools")]
		public Dictionary<string, Elastic.Clients.Elasticsearch.Nodes.NodeBufferPool>? BufferPools { get; init; }

		[JsonInclude]
		[JsonPropertyName("classes")]
		public Elastic.Clients.Elasticsearch.Nodes.JvmClasses? Classes { get; init; }

		[JsonInclude]
		[JsonPropertyName("gc")]
		public Elastic.Clients.Elasticsearch.Nodes.GarbageCollector? Gc { get; init; }

		[JsonInclude]
		[JsonPropertyName("mem")]
		public Elastic.Clients.Elasticsearch.Nodes.JvmMemoryStats? Mem { get; init; }

		[JsonInclude]
		[JsonPropertyName("threads")]
		public Elastic.Clients.Elasticsearch.Nodes.JvmThreads? Threads { get; init; }

		[JsonInclude]
		[JsonPropertyName("timestamp")]
		public long? Timestamp { get; init; }

		[JsonInclude]
		[JsonPropertyName("uptime")]
		public string? Uptime { get; init; }

		[JsonInclude]
		[JsonPropertyName("uptime_in_millis")]
		public long? UptimeInMillis { get; init; }
	}
}